package com.xyz.entity.mapper;

import com.xyz.entity.pojo.PatrolWorkOrder;
import com.xyz.entity.pojo.PatrolWorkOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatrolWorkOrderMapper {
    long countByExample(PatrolWorkOrderExample example);

    int deleteByExample(PatrolWorkOrderExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PatrolWorkOrder record);

    int insertSelective(PatrolWorkOrder record);

    List<PatrolWorkOrder> selectByExample(PatrolWorkOrderExample example);

    PatrolWorkOrder selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PatrolWorkOrder record, @Param("example") PatrolWorkOrderExample example);

    int updateByExample(@Param("record") PatrolWorkOrder record, @Param("example") PatrolWorkOrderExample example);

    int updateByPrimaryKeySelective(PatrolWorkOrder record);

    int updateByPrimaryKey(PatrolWorkOrder record);
}